package pers.corvey.crawler.dao;

import java.util.List;

import pers.corvey.crawler.model.Celebrity;
import pers.corvey.crawler.model.Movie;
import pers.corvey.crawler.model.MovieCelebrity;

public interface MovieCelebrityDAO {
	int saveAll(List<MovieCelebrity> movieCelebrities) throws Exception;
	List<Celebrity> findCastByMovieId(String movieId) throws Exception;
	List<Celebrity> findDirectorByMovieId(String movieId) throws Exception;
	List<Movie> findWorkByCelebrityId(String celebrityId) throws Exception;
	void removeDuplicate() throws Exception;
}
